package io.xiaojl.xj2ee.task.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import io.xiaojl.xj2ee.task.entity.ScheduleJobEntity;

@Mapper
public interface ScheduleJobEntityMapper {
    int deleteByPrimaryKey(Long jobId);

    int insert(ScheduleJobEntity record);

    int insertSelective(ScheduleJobEntity record);

    ScheduleJobEntity selectByPrimaryKey(Long jobId);

    int updateByPrimaryKeySelective(ScheduleJobEntity record);

    int updateByPrimaryKey(ScheduleJobEntity record);

	/**  
	 * <p>Title: selectAll</p>  
	 *
	 * <p>Description: </p>  
	 *
	 * @return  
	 */ 
	List<ScheduleJobEntity> selectAll();

	/**  
	 * <p>Title: selectListByPage</p>  
	 *
	 * <p>Description: </p>  
	 *
	 * @param condition
	 * @return  
	 */ 
	List<ScheduleJobEntity> selectListByPage(Map<String, Object> condition);

	/**  
	 * <p>Title: updateStatusByIds</p>  
	 *
	 * <p>Description: </p>  
	 *
	 * @param jobIds
	 * @param status
	 * @return  
	 */ 
	int updateStatusByIds(Long[] jobIds, int status);
}